home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / sys / Mu680x0Libs.lha / Mu680x0Libs / VBCC / Developer / LibSrc / MC68040Base.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-30  |  324 b   |  18 lines

  1. #include <exec/libraries.h>
  2. #include <proto/exec.h>
  3.  
  4. struct Library *MC68040Base = NULL;
  5. extern unsigned long _MC68040BaseVer;
  6.  
  7. void _INIT_5_MC68040Base()
  8. {
  9.   if (!(MC68040Base = OpenLibrary("68040.library",_MC68040BaseVer)))
  10.     exit(20);
  11. }
  12.  
  13. void _EXIT_5_MC68040Base()
  14. {
  15.   if (MC68040Base)
  16.     CloseLibrary(MC68040Base);
  17. }
  18.